package cn.veliger.qo;

import lombok.Getter;
import lombok.Setter;

/**
 * @author Veliger
 * @create 2017-10-23 16:10
 * @desc 分页参数
 **/
@Getter
@Setter
public class BaseQueryObject {
    private Integer currentPage = 1;
    private Integer pageSize = 10;
    public Integer getStart(){
        return (currentPage-1)*pageSize;
    }

}
